package com.ruoyi.project.search.viewoutfinish.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库单据历史对象 view_out_finish
 * 
 * @author wld
 * @date 2023-04-12
 */
public class ViewOutFinish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出库单据 */
    @Excel(name = "出库单据")
    private String stockoutId;

    /** 出库类型 */
    @Excel(name = "出库类型")
    private String outType;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createDate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createManId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 单据来源 */
    @Excel(name = "单据来源")
    private String stockoutSource;

    /** 出口 */
    @Excel(name = "出口")
    private String exitId;

    /** 开始时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String beginDate;

    /** 完成时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String finishDate;

    /** 出库子单据 */
    @Excel(name = "出库子单据")
    private String stockoutDetailId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String productId;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String productName;

    /** 批次 */
    @Excel(name = "批次")
    private String lotNo;

    /** 出库数 */
    @Excel(name = "出库数")
    private Long quantity;

    /** 完成数量 */
    @Excel(name = "完成数量")
    private Long allotQuantity;

    /** 分配数量 */
    @Excel(name = "分配数量")
    private Long assignNum;

    /**  */
    @Excel(name = "")
    private String unitName;

    /**  */
    @Excel(name = "")
    private String erpStockoutId;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String entryid;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 规格 */
    @Excel(name = "规格")
    private String spec;

    /** 漆面 */
    @Excel(name = "漆面")
    private String mnemonicCode;

    /** 属性1 */
    @Excel(name = "属性1")
    private String specialFlag;

    /** 属性2 */
    @Excel(name = "属性2")
    private String productFlag;

    /** 属性3 */
    @Excel(name = "属性3")
    private String model;

    /** 属性4 */
    @Excel(name = "属性4")
    private String unit;

    public void setStockoutId(String stockoutId) 
    {
        this.stockoutId = stockoutId;
    }

    public String getStockoutId() 
    {
        return stockoutId;
    }
    public void setOutType(String outType) 
    {
        this.outType = outType;
    }

    public String getOutType() 
    {
        return outType;
    }
    public void setCreateDate(String createDate) 
    {
        this.createDate = createDate;
    }

    public String getCreateDate() 
    {
        return createDate;
    }
    public void setCreateManId(String createManId) 
    {
        this.createManId = createManId;
    }

    public String getCreateManId() 
    {
        return createManId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setStockoutSource(String stockoutSource) 
    {
        this.stockoutSource = stockoutSource;
    }

    public String getStockoutSource() 
    {
        return stockoutSource;
    }
    public void setExitId(String exitId) 
    {
        this.exitId = exitId;
    }

    public String getExitId() 
    {
        return exitId;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getFinishDate() {
        return finishDate;
    }

    public void setFinishDate(String finishDate) {
        this.finishDate = finishDate;
    }

    public void setStockoutDetailId(String stockoutDetailId)
    {
        this.stockoutDetailId = stockoutDetailId;
    }

    public String getStockoutDetailId() 
    {
        return stockoutDetailId;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setLotNo(String lotNo) 
    {
        this.lotNo = lotNo;
    }

    public String getLotNo() 
    {
        return lotNo;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setAllotQuantity(Long allotQuantity) 
    {
        this.allotQuantity = allotQuantity;
    }

    public Long getAllotQuantity() 
    {
        return allotQuantity;
    }
    public void setAssignNum(Long assignNum) 
    {
        this.assignNum = assignNum;
    }

    public Long getAssignNum() 
    {
        return assignNum;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setErpStockoutId(String erpStockoutId) 
    {
        this.erpStockoutId = erpStockoutId;
    }

    public String getErpStockoutId() 
    {
        return erpStockoutId;
    }
    public void setEntryid(String entryid) 
    {
        this.entryid = entryid;
    }

    public String getEntryid() 
    {
        return entryid;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setSpec(String spec) 
    {
        this.spec = spec;
    }

    public String getSpec() 
    {
        return spec;
    }
    public void setMnemonicCode(String mnemonicCode) 
    {
        this.mnemonicCode = mnemonicCode;
    }

    public String getMnemonicCode() 
    {
        return mnemonicCode;
    }
    public void setSpecialFlag(String specialFlag) 
    {
        this.specialFlag = specialFlag;
    }

    public String getSpecialFlag() 
    {
        return specialFlag;
    }
    public void setProductFlag(String productFlag) 
    {
        this.productFlag = productFlag;
    }

    public String getProductFlag() 
    {
        return productFlag;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockoutId", getStockoutId())
            .append("outType", getOutType())
            .append("createDate", getCreateDate())
            .append("createManId", getCreateManId())
            .append("status", getStatus())
            .append("stockoutSource", getStockoutSource())
            .append("exitId", getExitId())
            .append("beginDate", getBeginDate())
            .append("finishDate", getFinishDate())
            .append("stockoutDetailId", getStockoutDetailId())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("lotNo", getLotNo())
            .append("quantity", getQuantity())
            .append("allotQuantity", getAllotQuantity())
            .append("assignNum", getAssignNum())
            .append("unitName", getUnitName())
            .append("erpStockoutId", getErpStockoutId())
            .append("entryid", getEntryid())
            .append("customerName", getCustomerName())
            .append("spec", getSpec())
            .append("mnemonicCode", getMnemonicCode())
            .append("specialFlag", getSpecialFlag())
            .append("productFlag", getProductFlag())
            .append("model", getModel())
            .append("unit", getUnit())
            .toString();
    }
}
